import request from '@/utils/request'

// 项目人员列表
export function listProPersonal(query) {
  return request({
    url: '/supervise/proPersonalApi/list',
    method: 'post',
    params: query
  })
}

// 项目人员列表新增
export function addProPersonal(data) {
  return request({
    url: '/supervise/proPersonalApi/add',
    method: 'post',
    data: data
  })
}

// 项目人员列表移除绑定
export function removeProPersonal(id) {
  return request({
    url: '/supervise/proPersonalApi/remove',
    method: 'post',
    params: id
  })
}

// 项目人员列表无权限
export function listProPersonalNoPermission(query) {
  return request({
    url: '/supervise/proPersonalApi/listNoPermission',
    method: 'post',
    params: query
  })
}

// 项目人员-勘探点列表
export function listSelectByProPersonId(query) {
  return request({
    url: '/supervise/explorationApi/selectByProPersonId',
    method: 'post',
    params: query
  })
}

// 项目人员-勘探点新增
export function addProPersonalExploration(data) {
  return request({
    url: '/supervise/proPersonalExplorationApi/addPersonByExploration',
    method: 'post',
    data: data
  })
}

// 项目人员-勘探点删除
export function removeProPersonalExploration(query) {
  return request({
    url: '/supervise/proPersonalExplorationApi/remove',
    method: 'post',
    params: query
  })
}
